import http from '../utils/http'
import BASE from '../utils/base'
// login
export function getApprovlCombox(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/getApprovlCombox`,
		method: 'post',
		data: data
	})
}

export function getInspPeriod(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/getInspPeriod`,
		method: 'post',
		data: data
	})
}

export function getListCombox(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/getListCombox`,
		method: 'post',
		data: data
	})
}

export function getThickJudgResList(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/getThickJudgResList`,
		method: 'post',
		data: data
	})
}

export function getReConVal(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/getReConVal`,
		method: 'post',
		data: data
	})
}

export function getReasCode(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/getReasCode`,
		method: 'post',
		data: data
	})
}

export function getResetMsg(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/getResetMsg`,
		method: 'post',
		data: data
	})
}

export function execReset(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/execReset`,
		method: 'post',
		data: data
	})
}

export function GetApprovalMsg(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetApprovalMsg`,
		method: 'post',
		data: data
	})
}

export function DataApproval(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/DataApproval`,
		method: 'post',
		data: data
	})
}

export function SaveApproval(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/SaveApproval`,
		method: 'post',
		data: data
	})
}

export function GetSaveApprovalMsg(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetSaveApprovalMsg`,
		method: 'post',
		data: data
	})
}

export function ClearApprovalUserCodSource(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/ClearApprovalUserCodSource`,
		method: 'post',
		data: data
	})
}

export function AddApprovalUserCodSource(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/AddApprovalUserCodSource`,
		method: 'post',
		data: data
	})
}

export function GetApprovalUserCodSource(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetApprovalUserCodSource`,
		method: 'post',
		data: data
	})
}

export function GetApprovalCodSource(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetApprovalCodSource`,
		method: 'post',
		data: data
	})
}

export function GetPeriodFrom(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetPeriodFrom`,
		method: 'post',
		data: data
	})
}

export function GetCancelMsg(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetCancelMsg`,
		method: 'post',
		data: data
	})
}

export function GetReplacementList(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetReplacementList`,
		method: 'post',
		data: data
	})
}

export function GetSaveReplacementMsg(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetSaveReplacementMsg`,
		method: 'post',
		data: data
	})
}

export function SaveReplacement(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/SaveReplacement`,
		method: 'post',
		data: data
	})
}

export function GetVariousSetList(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/GetVariousSetList`,
		method: 'post',
		data: data
	})
}

export function DataAcquisition(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/DataAcquisition`,
		method: 'post',
		data: data
	})
}

export function GetLineIndexMsg(data) {
	return http({
		url: `${BASE.IP}/api/LineIndex/GetLineIndexMsg`,
		method: 'post',
		data: data
	})
}

export function GetInitSysIntelligenceFlag(data) {
	return http({
		url: `${BASE.IP}/api/SysIntelligence/GetInitSysIntelligenceFlag`,
		method: 'post',
		data: data
	})
}

export function ExportVariousSetList(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/ExportVariousSetList`,
		method: 'post',
		data: data
	})
}

export function ExportReplacementList(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/ExportReplacementList`,
		method: 'post',
		data: data
	})
}

export function ExportThickJudgResList(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/ExportThickJudgResList`,
		method: 'post',
		data: data
	})
}

export function ImportThickJudgResList(data) {
	return http({
		url: `${BASE.IP}/api/PipManage/ImportThickJudgResList`,
		method: 'post',
		data: data
	})
}